package test.serverframe.armc.server.manager.service.exec;

/**
 * @author yegui
 * @date 2018年12月11日
 */
public class Constants {

    //调度状态(0未激活，1执行中，2暂停中，3执行完成， 4终止)
    public static final int INVOKE_WAITING = 0;
    public static final int INVOKE_EXECUTING = 1;
    public static final int INVOKE_PAUSING = 2;
    public static final int INVOKE_FINISHED = 3;
    public static final int INVOKE_SHUTDOWN = 4;

    //记录状态(0执行中，1执行成功，2执行失败)
    public static final int EXECUTING = 0;
    public static final int SUCCESS = 1;
    public static final int FAILED = 2;

    public static final String REFLECTION_CLASS_NAME = "executorEnterService";
    public static final String REFLECTION_METHOD_NAME = "executorEnter";

    public static final String FAILED_STRATEGY_CONTINUE = "0";
    public static final String FAILED_STRATEGY_STOP = "1";
}
